<?php

class AnnounceModel extends Model 
{

	protected $_validate=array(
		array('title','require','公告标题不能为空',0,'','all'),
		array('htmlbody','require','公告内容不能为空',0,'','all'),		
	);	
	protected $_auto  =  array(  	
        array('addtime','time','ADD','function'),
	);
}
?>